package com.heima.model.comment.dtos;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class CommentRepaySaveDTO {
    /**
     * 评论id
     */
    @NotNull(message = "评论id不能为空!")
    private String commentId;
    /**
     * 回复内容
     */
    @Size(max = 140,message = "不能超过140个字!")
    @NotBlank(message = "内容不能为空!")
    private String content;
}